import request from '@/utils/request'

export function queryTrackerForm(params) {
  return request({
    url: '/tracker/queryTrackerForms',
    method: 'get',
    params
  })
}

export function trackDetail(params) {
  return request({
    url: '/tracker/trackDetail',
    method: 'get',
    params
  })
}


export function queryDrivingSumary(params) {
  return request({
    url: '/driving/queryDrivingSumary',
    method: 'get',
    params
  })
}

export function queryOverspeedSumary(params) {
  return request({
    url: '/driving/queryOverspeedSumary',
    method: 'get',
    params
  })
}

export function queryDrivingDetailPage(params) {
  return request({
    url: '/driving/queryDrivingDetailPage',
    method: 'get',
    params
  })
}

export function findWarningPageList(params) {
  return request({
    url: '/tracker/findWarningPageList',
    method: 'get',
    params
  })
}

export function findChangeRecord(params) {
  return request({
    url: '/tracker/findChangeRecord',
    method: 'get',
    params
  })
}


export function queryOverspeedDetailPage(params) {
  return request({
    url: '/driving/queryOverspeedDetailPage',
    method: 'get',
    params
  })
}


export function queryOverspeedForms(params) {
  return request({
    url: '/driving/queryOverspeedForms',
    method: 'get',
    params
  })
}

export function findWarningForms(params) {
  return request({
    url: '/tracker/findWarningForms',
    method: 'get',
    params
  })
}

export function modifyWarningStatus(params) {
  return request({
    url: '/tracker/modifyWarningStatus',
    method: 'post',
    params
  })
}

export function queryBillOfAnnualfee(params) {
  return request({
    url: '/service/queryBillOfAnnualfee',
    method: 'get',
    params
  })
}

export function queryExpiredDevice(params) {
  return request({
    url: '/service/queryExpiredDevice',
    method: 'get',
    params
  })
}

export function querySysUser(params) {
  return request({
    url: '/user/querySysUser',
    method: 'get',
    params
  })
}

export function queryTrackUser(params) {
  return request({
    url: '/user/queryTrackUser',
    method: 'get',
    params
  })
}

export function queryServiceCardList(params) {
  return request({
    url: '/service/queryServiceCardList',
    method: 'get',
    params
  })
}

export function getimportantwarningList(params) {
  return request({
    url: '/tracker/monitorWarning',
    method: 'post',
    params
  })
}

/** @乐骑用户**/
export function queryUser(params) {
  return request({
    url: '/user/queryUser',
    method: 'get',
    params
  })
}



/** @选择设备列表**/
export function queryTrackerList(params) {
  return request({
    url: '/tracker/queryTrackerList',
    method: 'get',
    params
  })
}
